Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add local DMA unit #5

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

Add local DMA unit #5

wants to merge 6 commits into from

Conversation

micprog
Copy link
Member

@micprog micprog commented Jul 26, 2024

No description provided.

@micprog micprog force-pushed the dma branch 3 times, most recently from 684ccf1 to 9401d64 Compare July 29, 2024 16:20
Copy link
Contributor

@Scheremo Scheremo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks pretty decent to me, left some comments and questions.

Comment on lines +18 to +21
parameter int unsigned NarrowDataWidth = 0,
/// Data Width for the Wide Ports
parameter int unsigned WideDataWidth = 0,
/// Latency of downstream memory for
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NIT: Might be a good idea to also add reasonable defaults here

/// Data Width for the Wide Ports
parameter int unsigned WideDataWidth = 0,
/// Latency of downstream memory for
parameter int unsigned MemoryLatency = 2,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What does this parameter do? Is is functionally relevant?

for (genvar i = 0; i < 2; i++) begin : gen_rready_convert
spill_register #(
.T (obi_a_chan_t ),
.Bypass ( '0 )
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are these bypasses always necessary? Seems to me they are mostly relevant for timing.
Might be a good idea to extract their existence as a parameter.

Comment on lines +111 to +113
.NumRegs (32'd1),
.NumStreams (32'd1),
.IdCounterWidth(32),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this config reasonable?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants